package com.cskaoyan.market.controller;

import com.cskaoyan.market.service.WxFootprintService;
import com.cskaoyan.market.util.ResponseUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: MYM
 * @Date: 2024/05/20/14:08
 * @Description:
 */
@RestController
@RequestMapping("/wx/footprint")
public class WxFootPrintController {
    @Autowired
    WxFootprintService wxFootprintService;
    @GetMapping("/list")
    public Object list(Integer page, Integer limit){
        return ResponseUtil.okList(wxFootprintService.list(page, limit),wxFootprintService.page(page, limit));
    }

    @PostMapping("/delete")
    public Object delete(){
        return null;
    }

}
